package com.xy.mq.monitor.model;

import lombok.Data;

@Data
public class ClusterNode {

    // 磁盘空闲
    private long diskFree;

    private long diskFreeLimit;

    // 句柄使用数
    private long fdUsed;

    private long fdTotal;

    // Socket使用数
    private long socketsUsed;

    private long socketsTotal;

    // 内存使用数
    private long memoryUsed;

    private long memoryLimit;

    //Erlang进程使用数
    private long procUsed;

    private long procTotal;

    @Override
    public String toString() {
        return "ClusterNode{" +
                "diskFree=" + diskFree +
                ", diskFreeLimit=" + diskFreeLimit +
                ", fdUsed=" + fdUsed +
                ", fdTotal=" + fdTotal +
                ", socketsUsed=" + socketsUsed +
                ", socketsTotal=" + socketsTotal +
                ", memoryUsed=" + memoryUsed +
                ", memoryLimit=" + memoryLimit +
                ", procUsed=" + procUsed +
                ", procTotal=" + procTotal +
                '}';
    }
}
